home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr33
/
soscal1.zip
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-05-11
|
3KB
|
100 lines
ECHO OFF
CLS
IF %1a == a: goto WHATDRIVE
IF %1b == b: goto WHATDRIVE
IF %1 == c: goto START
IF %1 == C: goto START
IF %1 == d: goto START
IF %1 == D: goto START
IF %1 == e: goto START
IF %1 == E: goto START
IF %1 == f: goto START
IF %1 == F: goto START
GOTO NODRIVE
:START
echo ╔═══════════════════════════════════════════════════════════════════════╗
echo ║ ║
echo ║ DIGITAL TOURS CALENDAR Hard Disk Installation ║
echo ║ ║
echo ║ This will create a directory called %1\SOSCAL on your hard disk, ║
echo ║ and will install DIGITAL TOURS CALENDAR and its files in that ║
echo ║ directory. ║
echo ║ ║
echo ║ If you don't want THE DIGITAL TOURS CALENDAR installed at this ║
echo ║ time, press Ctrl + C. ║
echo ║ ║
echo ╚═══════════════════════════════════════════════════════════════════════╝
echo
pause
cls
echo Making directory %1\SOSCAL . . .
IF exist %1\SOSCAL\*.* goto EXISTS
MD %1\SOSCAL
:CHECKIT
IF exist DRIVER.EXE goto CONTINUE
echo
echo Place the disk containing THE DIGITAL TOUR CALENDAR and its files in
echo active drive.
echo
pause
goto CHECKIT
:CONTINUE
echo
echo Copying THE DIGITAL TOUR CALENDAR and its files . . .
copy *.* %1\SOSCAL
IF not exist %1\SOSCAL\DRIVER.EXE goto INSTALLERROR
ECHO REMOVE DISK A AND PLACE DISK B IN THE ACTIVE DRIVE.
PAUSE
copy *.* %1\SOSCAL
ECHO REMOVE DISK B AND PLACE DISK C IN THE ACTIVE DRIVE.
PAUSE
copy *.* %1\SOSCAL
%1
cd %1\SOSCAL
ECHO %1 > DTCDRIVE.BAT
DRIVER.EXE
PICKDRVR %1\SOSCAL %1\SOSCAL
echo
echo THE DIGITAL TOUR CALENDAR is installed on your hard disk. To run it,
echo type DTCAL.
ECHO
ECHO INSTALLATION COMPLETE.
ECHO (C)1992, $AVE ON $OFTWARE
ECHO Digital Tours is a trademark and a Division of $ave on $oftware.
ECHO
ECHO ADD %1\SOSCAL\DTCAL.BAT TO YOUR AUTOEXEC.BAT FILE TO DISPLAY
ECHO THE CALENDAR AUTOMATICALLY WHEN YOU START YOUR COMPUTER.
ECHO
ECHO ADD %1\SOSCAL TO YOUR PATH STATEMENT AND TYPE DTCAL AT THE
ECHO DOS PROMPT ANYTIME YOU WANT TO DISPLAY THE CALENDAR.
echo
goto DONE
:WHATDRIVE
cls
echo Installation Error: To install THE DIGITAL TOUR CALENDAR on your hard
echo disk, you must include the drive as part of the install command. For
echo example, to install THE DIGITAL TOUR CALENDAR on drive C, type INSTALL C:
echo and press ENTER.
goto ERRORQUIT
:NODRIVE
cls
echo Installation Error: The hard drive letter can be a letter from C to F,
echo For example, INSTALL C: will install THE DIGITAL TOUR CALENDAR on drive
echo C. You must include a colon after the drive letter.
goto ERRORQUIT
:INSTALLERROR
cls
echo Installation Error: Do you have enough space on your hard disk?
echo Did you give the proper hard drive letter?
goto ERRORQUIT
:EXISTS
cls
echo Installation Error: THE SOSCAL Directory already exists on this drive.
echo Delete this directory and all files in it, then try installing again.
goto ERRORQUIT
:ERRORQUIT
echo
echo THE DIGITAL TOUR CALENDAR was not installed correctly.
echo
:DONE